package com.zr.serviceImpl;

import com.zr.dao.LoginDaocy;
import com.zr.daoImpl.LoginDaoImplcy;
import com.zr.model.User;
import com.zr.service.LoginServicecy;

public class LoginServiceImplcy implements LoginServicecy {
	//创建login对象
	LoginDaocy login =new LoginDaoImplcy();
	/**
	 * 调用、实现服务层。
	 */
	public User LoginUser(String uname, String upsw) {
		return login.getUserByUnameAndUpsw(uname, upsw);
	}

}
